<table class="table table-striped table-bordered table-hover">
    <thead>
    <tr>
        <th class="center">
            <label class="position-relative">
                <input type="checkbox" class="ace checkSelectVideoAll">
                <span class="lbl"></span>
            </label>
        </th>
        <th>Hình ảnh</th>
        <th>Tên</th>
        <th>Thể loại</th>
        <th>Quốc gia</th>
    </tr>
    </thead>
    <tbody>
    {% for item in pager  %}
        <tr>
            <td class="center">
                <label class="position-relative">
                    <input type="checkbox" class="ace selectVideo" name="selectVideo[]" value="{{ item.getId() }}">
                    <span class="lbl"></span>
                </label>
            </td>
            <td>
                {% if(item.imageLink.getFirst()) %}
                    {{ image(constant.pathUploadImage ~ item.imageLink.getFirst().images.getImagePath() , 'width' : '250') }}
                {% endif %}
            </td>
            <td>{{ item.videoDescription.getName() }}</td>
            <td>
                {% if(item.videoCategoryLink) %}
                    {% for videoCategoryLink in item.videoCategoryLink %}
                        {{ videoCategoryLink.category.getName() ~ ' , ' }}
                    {% endfor %}
                {% endif %}
            </td>
            <td>
                {% if(item.videoDescription.national) %}
                    { item.videoDescription.national.getName() }
                {% endif %}
            </td>
        </tr>
    {% endfor %}
    </tbody>
</table>